import {createrouter,createwebhistory,RouteRecordRaw} from "vue-router";

const routers:Array<RouteRecordRaw>=[
        {
        name:"Regist",
        path:"/",
        component:()=>import("../components/Regist.vue"),
       },
       {
        name:"Login",
        path:"/login",
        component:()=>import("../components/Login.vue"),
       },
       {
        name:"Loginsuccess",
        path:"/Loginsuccess",
        component:()=>import("../components/Loginsuccess.vue"),
       },  
       {
        name:"UserInfo",
        path:"/UserInfo",
        component:()=>import("../components/UserInfo.vue"),
       },  
    ]


const router=createrouter({
    history:createwebhistory(),
    routes:routers
})
 
export default router

